package  src.entities;

import java.util.Date;

public class DiagnosedPerson {
	String name;
	String address;
	String phone;
	Date diagnosisDate;
	
	public DiagnosedPerson(String name, String address, String phone,
			Date diagnosisDate) {
		super();
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.diagnosisDate = diagnosisDate;
	}
	
	public String toString(){
		return "name:"+name+" address:"+address+" phone:"+phone+" diagnosis date:"+ diagnosisDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getDiagnosisDate() {
		return diagnosisDate;
	}

	public void setDiagnosisDate(Date diagnosisDate) {
		this.diagnosisDate = diagnosisDate;
	}
	
}
